package com.ocom.company.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.company.EntityDockKey;

public interface DockKeyService extends IService<EntityDockKey> {
    EntityDockKey getDockKeyInfo(String dockCode, Integer grade, Long comId, String serverCode);

    boolean removeDockKeyByComIdAndDockCodeAndGrade(Long comId, String dockCode, Integer grade);

    EntityDockKey getDockKeyByGrade(String dockCode, Integer grade, Long comId, String serverCode);

    EntityDockKey getDockKeyInfoReturnNew(String dockCode, Integer grade, Long comId, String serverCode);

    boolean saveDockKey(EntityDockKey entityDockKey);

}
